﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Web.admin.students.show" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../../js/function.js" type="text/javascript"></script>
    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="top_div">
        <div class="top_div_left" >
                <table>
                    <tr >
                        <td ><img src="../../images/main_hl.gif" /></td>
                        <td ><img src="../../images/main_hl2.gif" /></td>
                        <td class="topNav"><span>学生列表</span></td>
                        <td><img src="../../images/main_hr.gif" /></td>
                    </tr>
                </table>
        </div>
    </div>
     <div class="middle_div">
        <div class="middle_left"></div>
        <div class="middle_middle">
            <div class="navigation">
                <span>首页&gt;学生管理&gt;学生列表</span>
                <a href="List.aspx" class="backList" >返回列表</a>    
            </div>
            <div class="tools_box">
                 <div class="search_box">
                    <div class="div_serchCon">
                        <span style="color:#999">查询条件：</span>
                        <asp:DropDownList ID="ddlSerch" CssClass="ddlList "  runat="server"  >
                        <asp:ListItem Value="SID">学号</asp:ListItem>
                        <asp:ListItem Value="Gender">性别</asp:ListItem>
                        <asp:ListItem Value="Grades">年级</asp:ListItem>
                        <asp:ListItem Value="UserName">姓名</asp:ListItem>
                        <asp:ListItem Value="IdNumber">身份证号</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="div_serchbox">
			        <asp:TextBox ID="txtKeywords" runat="server" CssClass="txtInput"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="搜 索" CssClass="btnSearch"  />
                    </div>
		        </div>
                <div class="tools_bar">
                    <a href="insertSingle.aspx"  class="tools_btn"><span><b class="add">添加学生</b></span></a>
                    <a href="#"  class="tools_btn" onclick="checkAll(this);"><span><b class="checkAll">全选</b></span></a>
                    <asp:LinkButton runat="server" CssClass="tools_btn" ID="btn_Delete"  OnClientClick="return confirm( '确定要删除这些记录吗？ ');"><span><b class="delete">批量删除</b></span></asp:LinkButton>
                </div>
            </div>
            <div class="chooseClass">
                <span style="color:#999">请选择排序条件</span>
                <asp:DropDownList ID="ddlorder" CssClass="ddlList" runat="server"  AutoPostBack="true" >
                    <asp:ListItem Value="SID">学号</asp:ListItem>
                    <asp:ListItem Value="Gender">性别</asp:ListItem>
                    <asp:ListItem Value="Grades">年级</asp:ListItem>
                    <asp:ListItem Value="UserName">姓名</asp:ListItem>
                    <asp:ListItem Value="IdNumber">身份证号</asp:ListItem>
                </asp:DropDownList>
            </div>
            <div class="content_table">
                <table class="msgtable">
                    <%--<asp:Repeater ID="RpStudent" runat="server">
                        <HeaderTemplate>
                            <tr>
                                <th>选择</th>
                                <th>姓名</th>
                                <th>性别</th>
                                <th>学号</th>
                                <th>密码</th>
                                <th>学院</th>
                                <th>身份证号</th>
                                <th>是否锁定</th>
                                <th>操作</th>
                            </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td><asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" /><asp:HiddenField runat="server" ID="Hf_id" Value='<%#Eval("id") %>' /></td>
                                <td><%#Eval("UserName") %></td>
                                <td><%#Eval("Gender") %></td>
                                <td><%#Eval("SID") %></td>
                                <td><%#Eval("DePassword") %></td>
                                <td><%#Eval("Grades") %></td>
                                <td><%#Eval("IdNumber") %></td>
                                <td><%#Eval("IsLock").ToString() == "True" ? "锁定" : "未锁定"%></td>
                                <td><a href="insertSingle.aspx?id=<%#Eval("id")%>">修改</a></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>--%>
                    <tr>
                        <th>选择</th>
                        <th>姓名</th>
                        <th>性别</th>
                        <th>学号</th>
                        <th>用户名</th>
                        <th>密码</th>
                        <th>所属班级</th>
                        <th>年级</th>
                        <th>是否锁定</th>
                        <th>操作</th>
                    </tr>
                    <tr>
                        <td><asp:CheckBox ID="CbChoose" CssClass="checkBox" runat="server" /></td>
                        <td>小小</td>
                        <td>男</td>
                        <td>201114600209</td>
                        <td>201114600209</td>
                        <td>201114600209</td>
                        <td>计算机二班</td>
                        <td>2011</td>
                        <td>否</td>
                        <td><a href="#">修改</a><a href="#">删除</a></td>
                    </tr>
                </table>
            </div>
            <div class="div_page">
                   <div class="div_page_size" >
                        <span>每页显示</span>
                        <asp:TextBox ID="tb_size"  runat="server"   Width="40"></asp:TextBox>
                        <span>条</span>
                   </div>
                   <div class="div_page_Num">
                        <div class="div_a">
                            <label runat="server" id="lb_pageNum"></label>
                        </div>
                   </div>
            </div>
        </div>
        <div class="middle_right"></div>
    </div>
    </form>
</body>
</html>
